<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="{$row.title|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Brand')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select  id="c-brand" data-rule="required" class="form-control selectpicker" name="row[brand]">
                {foreach name="brandList" item="vo"}
                <option value="{$key}" {in name="key" value="$row.brand"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Performance_index')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-performance_index" data-rule="required" class="form-control" name="row[performance_index]" type="text" value="{$row.performance_index|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Performance_grade')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-performance_grade" data-rule="required" class="form-control" name="row[performance_grade]" type="text" value="{$row.performance_grade|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ranking')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ranking" data-rule="required" class="form-control" name="row[ranking]" type="number" value="{$row.ranking|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Code_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-code_name" data-rule="required" class="form-control" name="row[code_name]" type="text" value="{$row.code_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Stream_processing_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-stream_processing_number" data-rule="required" class="form-control" name="row[stream_processing_number]" type="number" value="{$row.stream_processing_number|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Area')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-area" data-rule="required" class="form-control" name="row[area]" type="number" value="{$row.area|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Transistor_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-transistor_number" data-rule="required" class="form-control" name="row[transistor_number]" type="number" value="{$row.transistor_number|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Process')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-process" data-rule="required" class="form-control" name="row[process]" type="number" value="{$row.process|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gpu_frequency')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-gpu_frequency" data-rule="required" class="form-control" name="row[gpu_frequency]" type="number" value="{$row.gpu_frequency|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Boots_frequency')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-boots_frequency" data-rule="required" class="form-control" name="row[boots_frequency]" type="number" value="{$row.boots_frequency|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Memory_rate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-memory_rate" data-rule="required" class="form-control" name="row[memory_rate]" type="number" value="{$row.memory_rate|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Memory_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-memory_type" data-rule="required" class="form-control" name="row[memory_type]" type="text" value="{$row.memory_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Memory_capacity')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-memory_capacity" data-rule="required" class="form-control" name="row[memory_capacity]" type="number" value="{$row.memory_capacity|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Memory_width')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-memory_width" data-rule="required" class="form-control" name="row[memory_width]" type="number" value="{$row.memory_width|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tdp')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tdp" data-rule="required" class="form-control" name="row[tdp]" type="number" value="{$row.tdp|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Directx')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-directx" data-rule="required" class="form-control" name="row[directx]" type="text" value="{$row.directx|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Release_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-release_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[release_time]" type="text" value="{$row.release_time}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Starting_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-starting_price" data-rule="required" class="form-control" step="0.01" name="row[starting_price]" type="number" value="{$row.starting_price|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
